package com.ruoyi.pump.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 泵组信息对象 t_pump
 * 
 * @author ruoyi
 * @date 2025-09-18
 */
public class TPump extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 泵组名称 */
    @Excel(name = "泵组名称")
    private String name;

    /**  */
    @Excel(name = "")
    private Long factory;

    /** 顺序号 */
    @Excel(name = "顺序号")
    private Long sno;

    /**  */
    @Excel(name = "")
    private String issummary;

    /** 是否工频 */
    @Excel(name = "是否工频")
    private String ispowfreq;

    /** 额定电流 */
    @Excel(name = "额定电流")
    private String ratedcurrent;

    /** 额定电压 */
    @Excel(name = "额定电压")
    private String ratedvoltage;

    /** 额定流量 */
    @Excel(name = "额定流量")
    private String ratedflow;

    /** 额定扬程 */
    @Excel(name = "额定扬程")
    private String ratedhead;

    /** 额定功率 */
    @Excel(name = "额定功率")
    private String ratedpower;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setFactory(Long factory) 
    {
        this.factory = factory;
    }

    public Long getFactory() 
    {
        return factory;
    }

    public void setSno(Long sno) 
    {
        this.sno = sno;
    }

    public Long getSno() 
    {
        return sno;
    }

    public void setIssummary(String issummary)
    {
        this.issummary = issummary;
    }

    public String getIssummary()
    {
        return issummary;
    }

    public void setIspowfreq(String ispowfreq) 
    {
        this.ispowfreq = ispowfreq;
    }

    public String getIspowfreq() 
    {
        return ispowfreq;
    }

    public void setRatedcurrent(String ratedcurrent) 
    {
        this.ratedcurrent = ratedcurrent;
    }

    public String getRatedcurrent() 
    {
        return ratedcurrent;
    }

    public void setRatedvoltage(String ratedvoltage) 
    {
        this.ratedvoltage = ratedvoltage;
    }

    public String getRatedvoltage() 
    {
        return ratedvoltage;
    }

    public void setRatedflow(String ratedflow) 
    {
        this.ratedflow = ratedflow;
    }

    public String getRatedflow() 
    {
        return ratedflow;
    }

    public void setRatedhead(String ratedhead) 
    {
        this.ratedhead = ratedhead;
    }

    public String getRatedhead() 
    {
        return ratedhead;
    }

    public void setRatedpower(String ratedpower) 
    {
        this.ratedpower = ratedpower;
    }

    public String getRatedpower() 
    {
        return ratedpower;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("factory", getFactory())
            .append("sno", getSno())
            .append("issummary", getIssummary())
            .append("ispowfreq", getIspowfreq())
            .append("ratedcurrent", getRatedcurrent())
            .append("ratedvoltage", getRatedvoltage())
            .append("ratedflow", getRatedflow())
            .append("ratedhead", getRatedhead())
            .append("ratedpower", getRatedpower())
            .toString();
    }
}
